export const getStorage = key => sessionStorage.getItem(key)// 获取
export const setStorage = (key, value) => sessionStorage.setItem(key, value)// 赋值
export const clearStorage = () => sessionStorage.clear()// 清空
export const removeStorage = key => sessionStorage.removeItem(key)// 删除

export default {
  getStorage, // 获取
  setStorage, // 赋值
  clearStorage, // 清空
  removeStorage// 删除
}
